package com.wad.manager.service;

import com.github.pagehelper.PageInfo;
import com.wad.entity.product.Brand;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author wad
 * @date 2023/12/07 14:05
 * @project e-commerce
 **/
@Service
public interface BrandService {



    PageInfo<Brand> findByPage(Integer page, Integer limit);

    void save(Brand brand);


    void update(Brand brand);


    void deleteById(Long id);

    List<Brand> findAll();
}
